from web.apis.feedback import feedback
from django.urls import path, include


urlpatterns = [
     # 反馈
    # 创建反馈
    path('create_feedback/', feedback.create_feedback),
    # 获取反馈列表
    path('get_feedback_list/', feedback.get_feedback_list),
    # 获取反馈
    path('get_feedback/<str:feedback_id>/', feedback.get_feedback),
    # 更新反馈
    path('update_feedback/<str:feedback_id>/', feedback.update_feedback),
    # 删除反馈
    path('delete_feedback/<str:feedback_id>/', feedback.delete_feedback),
    # 上传反馈图片
    path('upload_feedback_image/<str:feedback_id>/', feedback.upload_feedback_image),
    # 获取反馈图片列表
    path('get_feedback_images/<str:feedback_id>/', feedback.get_feedback_images),
    # 删除反馈图片
    path('delete_feedback_image/<str:image_id>/', feedback.delete_feedback_image),
    # 获取反馈类型列表
    path('get_feedback_type_list/', feedback.get_feedback_type_list),
    # 获取用户反馈列表
    path('get_user_feedback_list/', feedback.get_user_feedback_list),
   
]